<template>
    <a-card :bodyStyle="bodyStyle">
        <a-result status="404" title="404" sub-title="页面不存在或者您没有访问权限">
            <template #extra>
                <a-button type="primary" @click="backToLast">
                    返回主页
                </a-button>
            </template>
        </a-result>
    </a-card>
</template>
<script>
    export default {
        data() {
            return {
                bodyStyle: {minHeight: '800px'}
            };
        },
        methods: {
            backToLast(){
                this.$router.push({path: '/notice'});//跳转到主页
            }
        }
    };
</script>
